package com.party.core.model.commune;

import com.party.core.model.BaseModel;

/**
 * 会员积分流水表
 * @ClassName MemberIntegralConsum
 * @Description
 * @Author shenliuhai
 * @Date 2020/4/15 17:11
 **/
public class CMemberIntegralBalanceLog extends BaseModel {

    //会员id
    private String memberId;
    //记录来源：1:推荐,2:户外,3:奉献,4:学习,5:公益,6:系统赠送,7:商城购买
    private Integer source;
    //相关单据ID(积分项id或订单id)
    private String sourceId;
    //消耗积分
    private Double integral;
    //标题（例："购买XXX商品消耗XXX积分"）
    private String title;

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public Double getIntegral() {
        return integral;
    }

    public void setIntegral(Double integral) {
        this.integral = integral;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
